﻿@model HRM.Web.Models.RegisterModel
@{
    ViewBag.Title = "Registration";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Registration</title>
</head>
    <body>
        @using (Html.BeginForm())
        {
             @Html.AntiForgeryToken()
             @Html.ValidationSummary()
            <div>
                <div class="editor-label">
                    @Html.LabelFor(u => u.FirstName)
                    @Html.TextBoxFor(u=>u.FirstName)
                </div>
                <div class="editor-label">
                    @Html.LabelFor(u => u.LastName)
                    @Html.TextBoxFor(u => u.LastName)
                </div>
                <div class="editor-label">
                    @Html.LabelFor(u => u.Email)
                    @Html.TextBoxFor(u => u.Email)
                </div>
                <div>
                    @Html.LabelFor(u => u.Password)
                    @Html.PasswordFor(u => u.Password)
                </div>
                <div>
                    @Html.LabelFor(u => u.ConfirmPassword)
                    @Html.PasswordFor(u => u.ConfirmPassword)
                </div>
                <input type="submit" value="Register" />
            </div>
        }
        @section Scripts {
            @Scripts.Render("~/bundles/jqueryval")
        }
    </body>
</html>
